﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SXFramWork.Core
{
    /// <summary>
    /// 查询抽象
    /// </summary>
    public class QueryModel
    {
        public int CurrentPage { get; set; } = 1;
        /// <summary>
        /// 总数
        /// </summary>
        public long TotalCount { get; set; }

        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 排序方式
        /// </summary>
        public string SortType { get; set; } = "Desc";

        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortBy { get; set; } = "CreateTime";


        /// <summary>
        /// 分页信息
        /// </summary>
       // public PageQueryModel Page { get; set; } = new PageQueryModel();

    }
}
